package nyist.media.page;

import java.util.HashMap;
import java.util.Map;

/**
 * @author dcf
 */
public class ApiResultMap<K, V> extends HashMap<K, V> {

    private static final long serialVersionUID = 1976696885051802767L;

    public ApiResultMap<K, V> add(K key, V value) {
        super.put(key, value);
        return this;
    }

    public ApiResultMap<K, V> addAll(Map<K, V> otherMap) {
        super.putAll(otherMap);
        return this;
    }
}
